package com.lovo.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling //定时调度
@EnableFeignClients(basePackages = "com.lovo.commom") //远程调用
@EnableElasticsearchRepositories(basePackages = "com.lovo.web.mapper")
@SpringBootApplication
public class MainWeb {
    public static void main(String[] args) {
        SpringApplication.run(MainWeb.class,args);
    }
}
